package com.wan.personnel2.service.impl;

import com.wan.personnel2.entity.DeptInf;
import com.wan.personnel2.dao.DeptInfMapper;
import com.wan.personnel2.entity.ResultCode;
import com.wan.personnel2.service.DeptInfService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

@Service
public class DeptInfServiceImpl extends ServiceImpl<DeptInfMapper, DeptInf> implements DeptInfService {

    public ResultCode<DeptInf> getDept() {
        return null;
    }

    public boolean addDeptInf(DeptInf user) {
        boolean insert = user.insert();
        return insert;
    }
}
